package cn.oa.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.oa.bean.Account;
import cn.oa.bean.Log;
import cn.oa.mapper.LogMapper;
import cn.oa.service.LogService;
@Service
public class LogServiceImpl implements LogService{
	@Resource
	LogMapper logMapper;
	public boolean addLog(Log log) {
		return logMapper.addLog(log);
	}
	public List<Log> findAllLog() {
		return logMapper.findAllLog();
	}
	public List<Log> findDeLog(Account account) {
		return logMapper.findDeLog(account);
	}
	public String query(Account account) {
		return logMapper.query(account);
	}
}
